package com.cenntro.auth.model.vo;

import javax.validation.constraints.NotNull;

import com.cenntro.auth.utils.Valid;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账号数据表
 * </p>
 *
 * @author
 * @since 2019-03-08
 */
@Data
@Accessors(chain = true)
public class SysSooidAddVO {

    @NotNull(groups = Valid.update.class, message = "修改账号id不能是空")
    @ApiModelProperty(value = "修改账号id不能是空")
    private Integer id;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "-1 停用 1启用")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "客户id")
    private Integer agentId;
    @ApiModelProperty(value = "客户关系")
    private String agentPath;
    @ApiModelProperty(value = "分配的角色id")
    private String roleIds;
//    @ApiModelProperty(value = "联系人 ")
//    private String linkMan;
//    @ApiModelProperty(value = "联系电话 ")
//    private String linkTel;
    @ApiModelProperty(value = "头像")
    private String headPic;
    @ApiModelProperty(value = "客户登录手机id用于消息推送", hidden=true)
    private String registrationId;
    @ApiModelProperty(value = "客户登录sessionId", hidden=true)
    private String token;
    
    @ApiModelProperty(value = "角色类型")
    private Integer roleType;
    
    @ApiModelProperty(value = "昵称")
    private String nickname;
    @ApiModelProperty(value = "电话")
    private String telephone;
    @ApiModelProperty(value = "性别")
    private String sex;
    @ApiModelProperty(value = "国家")
    private String city;
    @ApiModelProperty(value = "详细地址")
    private String address;
    @ApiModelProperty(value = "实名")
    private String realName;
    
    @ApiModelProperty(value = "岗位")
    private String position;
}
